package ${basePackageName}.po${spotAndSubPack};

import java.io.Serializable;
import java.util.Date;

/**
 * ${className}
 * @Author ${company} - ${author} - ${nowDate?string("yyyy/MM/dd HH:mm")}
 */
public class ${className} implements Serializable {

<#list fieldList as var>
    /*
     * ${var[3]} 
     */
    private ${var[1]} ${var[0]};	
</#list>

<#list fieldList as var>
    public ${className} set${var[4]}(${var[1]} ${var[0]}){
        this.${var[0]} = ${var[0]};
        return this;
    }	

    public ${var[1]} get${var[4]}(){
        return this.${var[0]};
    }	

</#list>

	@Override
    public String toString() {
        return "{" +
		        <#list fieldList as var>
        	<#if '${var[0]}' == '${pKey[1]}'>
				"${var[0]}:" + ${var[0]} + "" +
			<#else>
				" , ${var[0]}:" + ${var[0]} + "" +
			</#if>
				</#list>
               '}';
    }
}
